package com.chinatechstar.component.socketio;

import java.util.Map;


/**
 * @author Rei
 */
public class MsgBody {
    private String eventType;
    private Map<String, Object> payload;

    public MsgBody(String eventTypeParam, Map<String, Object> payloadParam) {
        eventType = eventTypeParam;
        payload = payloadParam;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public Map<String, Object> getPayload() {
        return payload;
    }

    public void setPayload(Map<String, Object> payload) {
        this.payload = payload;
    }
}
